var express = require('express');
var router = express.Router()
var { feedbackModel } = require('../model/feedback')


router.post('/feedback',async(req,res)=>{
    let body  = req.body;

    await feedbackModel.create(body)

    res.send({
        code: 200,
        msg: '反馈成功'
    })

    
})

module.exports = router;